<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
	<div class = "clear"></div>
		
		<div id = "main_content">
		<div id = "left_col">
		
			<div id = "bp_news">
				<!--<h3 class = "title">News &amp; Announcements</h3>-->
				<div class = "inner">
					<jdoc:include type="modules" name="left1" style="xhtml" />
				</div>
			</div>
			
			<div id = "bp_recommends">
				<!--<h3 class = "title">BookPeople Recommends</h3>-->
				<div class = "inner">
					<jdoc:include type="modules" name="left2" style="xhtml" />
				</div>
			</div>
	
		</div>
		
		<div id = "right_box">
		
		<jdoc:include type="component" />
		
		<?php if( $this->countModules('main') && $this->countModules('mainbl and mainbr') ): ?>
			<div id = "coming_up">
				<h1 class = "title">Coming Up at BookPeople</h1>
				<div class = "inner">
					<jdoc:include type="modules" name="main" style="xhtml" />
				</div>
			</div>
			
			<div id = "bp_community">
				<h3 class = "title">BookPeople in the Community</h3>
				<div class = "inner">
				
					<!-- AddThis Button BEGIN -->
					<script type="text/javascript">
						addthis_pub  = 'bookpeople';
						addthis_brand = 'BookPeople';
					</script>
					<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
					<!-- AddThis Button END -->
					
					<jdoc:include type="modules" name="mainbr" style="xhtml" />
				</div>
			</div>
			
			<div id = "bp_blog">
				<h3 class = "title">BookPeople Blog</h3>
				<div class = "inner">
					<jdoc:include type="modules" name="mainbl" style="xhtml" />
				</div>
			</div>
		<?php endif; ?>
		
		</div>	
		
		<div class = "clear"></div>	
	</div>

	
	